package cn.sczhyt.modules.szhy.dao;

import cn.sczhyt.modules.szhy.entity.MeetingFileEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.data.repository.query.Param;

import java.util.List;

/**
 * 会议附件表
 * 
 * @author luoshijie
 * @email 1169414426@qq.com
 * @date 2020-09-11 16:50:36
 */
@Mapper
public interface MeetingFileDao extends BaseMapper<MeetingFileEntity> {

    IPage<MeetingFileEntity> findAll(Page<MeetingFileEntity> pages,@Param("meetingId") String meetingId);

    IPage<MeetingFileEntity> appFindAll(@Param("userId") String userId,
                                        Page<MeetingFileEntity> pages,
                                        @Param("meetingId")String meetingId);
}
